package _021_10_5

import "strconv"

func isPalindrome(x int) bool {
	num := strconv.Itoa(x)
	for i := 0; i < len(num)/2; i++ {
		if num[i] != num[len(num)-i-1] {
			return false
		}
	}
	return true
}
